<!--主页面-->
<template>
    <div>
        <el-button type="primary" @click="goTo('/backTopOne')">去往页面1</el-button>
        <el-button type="primary" @click="goTo('/backTopTwo')">去往页面2</el-button>
        <!--配置登录导航-->
        <el-button type="primary" @click="goTo('/login')">去往登录页</el-button>
    </div>
</template>
<script>
    export default {
        name: 'Home',
        components: {},
        methods: {
            /*页面跳转*/
            goTo(path) {
                this.$router.push(path)
            }
        }
    }
</script>
